#include "region.hpp"

Village::Village() = default;

Village::Village(int id, double x, double y) : _id(id), _x(x), _y(y) {}

Village::~Village() = default;

int Village::get_id() const
{
    return _id;
}
double Village::get_x() const
{
    return _x;
}
double Village::get_y() const
{
    return _y;
}

void Village::set_x(double x)
{
    _x = x;
}
void Village::set_y(double y)
{
    _y = y;
}

std::ostream &operator<<(std::ostream &os, Village &t)
{
    os << "ID: " << t._id << "  "
       << "x: " << t._x << "  "
       << "y: " << t._y << std::endl;

    return os;
}
